package edu.sctu.practice.class02.xuqianlan.test.test08;

/**
 * Created by lenovo on 2015/10/16.
 */
public class Car extends Vehicles {

    int seat;

    public Car(int seat) {
        super("凯迪拉克", "橙");
        this.seat = seat;
    }

    public void showCar() {
        System.out.println("小汽车：" + " 商标：" + brand + " 颜色：" + color + " 大小：" + seat+"位");
    }
}
